home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / VI5.ARJ / INSTALL.BAT next >
DOS Batch File  |  1992-01-25  |  4KB  |  63 lines

  1. echo off
  2. cls
  3. if exist VIDEMO.EXE goto ok
  4.  
  5. echo ╔═════════════════════════════════════════════════════════════════════════════╗
  6. echo ║                                                                             ║
  7. echo ║                         Visual Interface for Clipper                        ║
  8. echo ║                         ============================                        ║
  9. echo ║                               Demo Installation                             ║
  10. echo ║                                                                             ║
  11. echo ║    Please log on to the issue disk or drive containing VIDEMO.EXE           ║
  12. echo ║                                                                             ║
  13. echo ╚═════════════════════════════════════════════════════════════════════════════╝
  14. goto out
  15. :ok
  16. if "%1"=="" goto default
  17. goto custom
  18. :default
  19. echo ╔═════════════════════════════════════════════════════════════════════════════╗
  20. echo ║                                                                             ║
  21. echo ║                         Visual Interface for Clipper                        ║
  22. echo ║                         ============================                        ║
  23. echo ║                               Demo Installation                             ║
  24. echo ║   By default this install procedure will unpack the self-extracting         ║
  25. echo ║   archive VIDEMO.EXE onto drive C: into the directory \VIDEMO.              ║
  26. echo ║                                                                             ║
  27. echo ║   It requires about 610K on the target disk.                                ║
  28. echo ║                                                                             ║
  29. echo ║   If you want to use a different drive and directory use:                   ║
  30. echo ║                    INSTALL  drive:  path                                    ║
  31. echo ║                                                                             ║
  32. echo ║   Press any key to install the Visual Interface demo to C:\VIDEMO, or       ║
  33. echo ║   press Ctrl-C now to abort and change the installation location.           ║
  34. echo ║                                                                             ║
  35. echo ╚═════════════════════════════════════════════════════════════════════════════╝
  36. pause
  37. VIDEMO c:\videmo
  38. copy readme.txt c:\videmo
  39. c:
  40. cd \videmo
  41. goto done
  42. :custom
  43. echo ╔═════════════════════════════════════════════════════════════════════════════╗
  44. echo ║                                                                             ║
  45. echo ║                         Visual Interface for Clipper                        ║
  46. echo ║                         ============================                        ║
  47. echo ║                                 Installation                                ║
  48. echo ║                                                                             ║
  49. echo ╚═════════════════════════════════════════════════════════════════════════════╝
  50. VIDEMO %1%2
  51. copy readme.txt %1%2
  52. %1
  53. cd %2
  54. :done
  55. echo ╔═════════════════════════════════════════════════════════════════════════════╗
  56. echo ║                                                                             ║
  57. echo ║                                    DONE!                                    ║
  58. echo ║                                                                             ║
  59. echo ║   To run the demo, type DEMO and pressed return.                            ║
  60. echo ║                                                                             ║
  61. echo ╚═════════════════════════════════════════════════════════════════════════════╝
  62. :out
  63.